package com.aidong.home.entity;

import com.aidong.util.ReadPropertiesUtil;

import java.io.Serializable;

public class CourseType implements Serializable {
    private static final long serialVersionUID = -7668664823099934786L;

    private String code;
    private String chName;
    private String url;

    public CourseType() {
    }

    public CourseType(String code, String chName, String url) {
        this.code = code;
        this.chName = chName;
        this.url = url;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getChName() {
        return chName;
    }

    public void setChName(String chName) {
        this.chName = chName;
    }

    public String getUrl() {
        return ReadPropertiesUtil.getIMGREAD(url);
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
